﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Manager
{
    public class tc_User
    {
        private readonly DataAccess.tc_User _user;
        public tc_User()
        {
            _user = new DataAccess.tc_User();
        }


        public bool Add(Model.tc_User model)
        {
            return _user.Add(model);
        }

        public bool Update(Model.tc_User model)
        {
            return _user.Update(model);
        }

        public Model.tc_User GetModel(Guid id)
        {
            return _user.GetModel(id);
        }

        public bool Delete(Guid id)
        {
            return _user.Delete(id);
        }

        public List<Model.tc_User> GetList()
        {
            return _user.GetList();
        }
    }
}
